﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
using System.ComponentModel;

namespace UIPrototyper
{
    class GroupBoxProperties : Property
    {
        private GroupBox groupBox;

        public GroupBoxProperties(GroupBox pGroupBox)
        {
            this.groupBox = pGroupBox;
        }

        [DescriptionAttribute("O nome da imagem"),
        CategoryAttribute("Image")]
        public override string Nome
        {
            get { return this.groupBox.Name; }
            set { this.groupBox.Name = value; }
        }

        [DescriptionAttribute("O nome do Grupo."),
        CategoryAttribute("GroupBox")]
        public string Conteudo
        {
            get { return this.groupBox.Header.ToString(); }
            set { this.groupBox.Header = value; }
        }
    }
}
